# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=py3-lunr
pkgver=0.6.2
pkgrel=3
pkgdesc="python implementation of Lunr.js"
url="https://github.com/yeraydiazdiaz/lunr.py"
arch="noarch"
license="MIT"
depends="python3 py3-future"
makedepends="py3-setuptools"
checkdepends="py3-coverage py3-mock py3-pytest py3-pytest-timeout py3-tox"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/l/lunr/lunr-$pkgver.tar.gz"
builddir="$srcdir/lunr-$pkgver"
options="!check" # No tests yet.

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
6b7c29d30a8a64b71246ff884e473cceeef5e00e382ad54474e7855dcafcf3817dcc14c29c1bb2eb3371f1cb5ab1485a7840dbe41d345a4503294052aa9cd644  lunr-0.6.2.tar.gz
"
